<script setup lang='ts'>
import * as Echarts from "echarts"
import Option from "./option"
import { onMounted } from "vue";
let option = Option()
let echart: any
onMounted(() => {
    let dom = document.getElementById('lineChartBox')
    echart = Echarts.init(dom)
    echart.setOption(option, true)
})
</script>
 
<template>
    <div id="lineChartBox"></div>
</template>
 
<style scoped>
#lineChartBox {
    height: 100%;
    width: 100%;
}
</style>